package com.itheima.StringTist;

import java.util.Scanner;

public class Demo15 {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("请输入手机号");
        String telString = sc.nextLine();
        //截取字符串前三位
        String s1 = telString.substring(0, 3);
        String s2 = telString.substring(7);
        System.out.println(s1+"****"+s2);
    }
}
